/*
 
MujMail - Simple mail client for J2ME
Copyright (C) 2005 Pavel Machek <pavel@ucw.cz>
Copyright (C) 2006 Nguyen Son Tung <n.sontung@gmail.com>
Copyright (C) 2006 Martin Stefan <martin.stefan@centrum.cz>
 
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
 
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
 
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 */

//this class is used to define native language for labels, texts, buttons and alerts
//use is as Lang.get(Lang.SOMECONST); to get a string in the appropriate language
package mujmail;
public class LangPL extends Lang{
	
	/******************* Lingual constants for labels and texts ************************/	
	
	//basics constants for whole mujmail
	static final short MUJMAIL_BASE = 100;
	static final short EMPTY = MUJMAIL_BASE+1;		
	static final short FAILED = MUJMAIL_BASE+2;
	static final short SUCCESS = MUJMAIL_BASE+3;
	static final short IN = MUJMAIL_BASE+4;
	static final short ACTIVE = MUJMAIL_BASE+5;
	static final short INACTIVE = MUJMAIL_BASE+6;
	static final short MSGIDS_CACHE = MUJMAIL_BASE+7;
	static final short DB_SPACE_LEFT = MUJMAIL_BASE+8;
	
	//account settings constants	
	static final short AS_ACCOUNTS = MUJMAIL_BASE+100;
	static final short AS_ACTIVATION = MUJMAIL_BASE+101;
	static final short AS_EMAIL = MUJMAIL_BASE+102;
	static final short AS_PROTOCOL = MUJMAIL_BASE+103;
	static final short AS_SERVER = MUJMAIL_BASE+104;
	static final short AS_PORT = MUJMAIL_BASE+105;
	static final short AS_USR_NAME = MUJMAIL_BASE+106;
	static final short AS_PASS = MUJMAIL_BASE+107;
	static final short AS_PRIMARY = MUJMAIL_BASE+108;
	static final short AS_SSL = MUJMAIL_BASE+109;
	static final short AS_IMAP_MAILBOXES = MUJMAIL_BASE+110;
	
	//Addressbook constants
	static final short AD_ADDRESSBOOK = MUJMAIL_BASE+200;
	static final short AD_CONTACT_INFO = MUJMAIL_BASE+201;
	static final short AD_NAME = MUJMAIL_BASE+202;
	static final short AD_EMAIL = MUJMAIL_BASE+203;
	static final short AD_NOTES = MUJMAIL_BASE+204;	
	static final short AD_ADDDING_RCPS = MUJMAIL_BASE+205;
	
	//theBox, folders constants
	static final short TB_FOLDERS = MUJMAIL_BASE+300;
	static final short TB_INBOX = MUJMAIL_BASE+301;
	static final short TB_OUTBOX = MUJMAIL_BASE+302;
	static final short TB_DRAFT = MUJMAIL_BASE+303;
	static final short TB_SENTBOX = MUJMAIL_BASE+304;
	static final short TB_TRASH = MUJMAIL_BASE+305;
	static final short TB_NO_SUBJECT = MUJMAIL_BASE+306;
	static final short TB_READ_MAILS = MUJMAIL_BASE+307;
	static final short TB_UNREAD_MAILS = MUJMAIL_BASE+308;
	static final short TB_ALL_MAILS = MUJMAIL_BASE+309;	
	
	//settings constants
	static final short ST_SETTINGS = MUJMAIL_BASE+400;	
	static final short ST_SORT_SETTINGS = MUJMAIL_BASE+401;
	static final short ST_SORT_BY = MUJMAIL_BASE+402;
	static final short ST_SORT_TIME = MUJMAIL_BASE+403;	
	static final short ST_SORT_SUBJECT = MUJMAIL_BASE+404;
	static final short ST_SORT_RECIPIENTS = MUJMAIL_BASE+405;
	static final short ST_SORT_SENDER = MUJMAIL_BASE+406;
	static final short ST_SORT_SIZE = MUJMAIL_BASE+407;
	static final short ST_SORT_ORDER = MUJMAIL_BASE+408;
	static final short ST_SORT_INCREASE = MUJMAIL_BASE+409;
	static final short ST_SORT_DECREASE = MUJMAIL_BASE+410;	
	static final short ST_LANG = MUJMAIL_BASE+411;		
	static final short ST_SMTP_AUTH = MUJMAIL_BASE+414;	
	static final short ST_SMTP_AUTH_NEEDED = MUJMAIL_BASE+415;	
	static final short ST_DOWN_WHOLE_MAIL = MUJMAIL_BASE+418;	
	static final short ST_DEL_FROM_SERVER = MUJMAIL_BASE+419;	
	static final short ST_ADD_TO_ADBOOK = MUJMAIL_BASE+420;	
	static final short ST_NOT_SET = MUJMAIL_BASE+421;
	static final short ST_POLLING_INTERVAL = MUJMAIL_BASE+422;	
	static final short ST_TIMEOUT = MUJMAIL_BASE+423;	
	static final short ST_SIGN = MUJMAIL_BASE+424;	
	static final short ST_OTHER = MUJMAIL_BASE+425;	
	static final short ST_POLLING_BEHAVIOUR = MUJMAIL_BASE+426;	
	static final short ST_POLLING_PLAY_SOUND = MUJMAIL_BASE+427;	
	static final short ST_POLLING_DOWN = MUJMAIL_BASE+428;
	static final short ST_DEL_ON_EXIT =  MUJMAIL_BASE+429;
	static final short ST_ML_SMALL_FONT =  MUJMAIL_BASE+430;
	static final short ST_TICK_TEXT =  MUJMAIL_BASE+431;
	static final short ST_SAFE_MODE =  MUJMAIL_BASE+432;
	static final short ST_RETR_MAX_MAILS =  MUJMAIL_BASE+433;
	static final short ST_SORT_RECORD_ID = MUJMAIL_BASE+434;
	static final short ST_REPLACE_TABS = MUJMAIL_BASE+435;
	static final short ST_MOVE_TO_TRASH = MUJMAIL_BASE+436;				
	static final short ST_DOWNLOAD_ONLY_NEVER_SEEN = MUJMAIL_BASE+438;
	static final short ST_AUTO_CLEAR_INBOX = MUJMAIL_BASE+439;
	static final short ST_RETR_MAX_LINES = MUJMAIL_BASE+440;
	
	//mail concerning constants
	static final short ML_TO = MUJMAIL_BASE+500;	
	static final short ML_SUBJECT = MUJMAIL_BASE+501;	
	static final short ML_BODY = MUJMAIL_BASE+502;	
	static final short ML_FROM = MUJMAIL_BASE+503;	
	static final short ML_ATTACHMENTS = MUJMAIL_BASE+504;	
	static final short ML_SIZE = MUJMAIL_BASE+505;	
	static final short ML_TIME = MUJMAIL_BASE+506;
	static final short ML_HEADERS_DETAIL = MUJMAIL_BASE+507;
	static final short ML_ATTCHMENTS_DETAIL = MUJMAIL_BASE+508;
	static final short ML_FILENAME = MUJMAIL_BASE+509;
	static final short ML_WIDTH = MUJMAIL_BASE+510;
	static final short ML_HEIGHT = MUJMAIL_BASE+511;
	static final short ML_RECIPIENTS = MUJMAIL_BASE+512;					
	
	//Utilities constants
	static final short UT_UTILS = MUJMAIL_BASE+900;	
	
	//Menu Actions constants
	static final short AC_ACTIONS = MUJMAIL_BASE+1000;
	static final short AC_WRITE_MAIL = MUJMAIL_BASE+MUJMAIL_BASE+1001;
	static final short AC_RETRIEVE_MAILS = MUJMAIL_BASE+MUJMAIL_BASE+1002;
	static final short AC_SENDALL = MUJMAIL_BASE+MUJMAIL_BASE+1003;
	static final short AC_POLLING = MUJMAIL_BASE+MUJMAIL_BASE+1004;
	static final short AC_FORWARD = MUJMAIL_BASE+MUJMAIL_BASE+1005;
	static final short AC_CLEAR_DB = MUJMAIL_BASE+MUJMAIL_BASE+1006;
	static final short AC_DISCONNECT = MUJMAIL_BASE+MUJMAIL_BASE+1007;
	static final short AC_SERVERS_INBOX_SYNC = MUJMAIL_BASE+MUJMAIL_BASE+1008;
	
	//About constants
	static final short ABT_ABOUT = MUJMAIL_BASE+1050;
	static final short ABT_TEXT = MUJMAIL_BASE+1051;	
	
	//Sendmails constants
	static final short SM_FORWARDED_MESSAGE = MUJMAIL_BASE+1080;
	static final short SM_SENDING_ACCOUNT = MUJMAIL_BASE+1081;
	
	//protocols constants
	static final short PL_NOTAUTHORIZED = MUJMAIL_BASE+1150;
	
	/******************* Lingual constants for buttons  ************************/
	
	//basic buttons constants			
	static final short BTN_BASE = 5000;
	static final short BTN_OK = BTN_BASE+1;
	static final short BTN_CANCEL = BTN_BASE+2;
	static final short BTN_BACK = BTN_BASE+3;
	static final short BTN_CLEAR = BTN_BASE+4;
	static final short BTN_SAVE = BTN_BASE+5;
	static final short BTN_EDIT = BTN_BASE+10;
	static final short BTN_DELETE = BTN_BASE+11;
	static final short BTN_EXIT = BTN_BASE+12;
	static final short BTN_RTV_NEW_MAILS = BTN_BASE+13;
	static final short BTN_SELECT = BTN_BASE+14;
	
	//buttons for addressbook
	static final short BTN_AD_MARK = BTN_BASE+100;
	static final short BTN_AD_UNMARK = BTN_BASE+101;
	static final short BTN_AD_DONE = BTN_BASE+102;
	static final short BTN_AD_SEND_MAIL = BTN_BASE+103;
	static final short BTN_AD_ADD_NEW = BTN_BASE+104;
	static final short BTN_AD_VIEW = BTN_BASE+105;
	
	//thebox, folders buttons
	static final short BTN_TB_VIEW_MESS = BTN_BASE+200;
	static final short BTN_TB_FORWARD = BTN_BASE+201;
	static final short BTN_TB_DEL_NOW = BTN_BASE+202;
	static final short BTN_TB_SORT = BTN_BASE+203;
	static final short BTN_TB_STOP = BTN_BASE+204;
	//inbox
	static final short BTN_TB_REPLY = BTN_BASE+215;
	static final short BTN_TB_QUOTED_REPLY = BTN_BASE+216;		
	static final short BTN_TB_REDOWNLOAD = BTN_BASE+217;
	static final short BTN_TB_REPLY_ALL = BTN_BASE+218;
	//outboxs
	static final short BTN_OB_SEND = BTN_BASE+220;
	static final short BTN_OB_SENDALL = BTN_BASE+221;
	//trash
	static final short BTN_TR_RESTORE = BTN_BASE+230;
	static final short BTN_TR_RESTORE_NOW = BTN_BASE+231;
	
	//sendmail
	static final short BTN_SM_SEND = BTN_BASE+300;
	static final short BTN_SM_USE_AB = BTN_BASE+301;
	static final short BTN_SM_SEND_LATTER = BTN_BASE+302;
	static final short BTN_SM_SAVE = BTN_BASE+303;
	static final short BTN_SM_BC = BTN_BASE+304;
	static final short BTN_SM_CLEAR = BTN_BASE+305;
	static final short BTN_SM_CHOOSE_FROM = BTN_BASE+306;
	
	//account settings 
	static final short BTN_AS_NEW = BTN_BASE+400;
	static final short BTN_AS_SET_PRIMARY = BTN_BASE+401;
	
	//mailform
	static final short BTN_MF_ATTACHMENTS = BTN_BASE+500;
	static final short BTN_MF_HEADERS_DETAILS = BTN_BASE+501;
	static final short BTN_MF_EMAIL_ADDRS = BTN_BASE+502;
	static final short BTN_MF_DEL_ATTACHMENTS = BTN_BASE+503;
	static final short BTN_MF_DETAILS = BTN_BASE+504;
	static final short BTN_MF_ADD_EMAIL = BTN_BASE+505;
	static final short BTN_MF_REDOWN_ATTACHMENTS = BTN_BASE+506;

	//about
	static final short BTN_ABT_FEEDBACK = BTN_BASE+550;
	
	/******************* Lingual constants for alerts & activity reports ************************/
	
	//basic alerts
	static final short ALRT_BASE = 10000;	
	static final short ALRT_WAIT = ALRT_BASE+1;				
	static final short ALRT_LOADING = ALRT_BASE+2;	
	static final short ALRT_SAVING = ALRT_BASE+3;
	static final short ALRT_DELETING = ALRT_BASE+4;
	static final short ALRT_BAD_EMAIL = ALRT_BASE+5;
	static final short ALRT_SORTING = ALRT_BASE+6;
	static final short ALRT_INITIATING = ALRT_BASE+7;
	static final short ALRT_SYNCHRONIZING = ALRT_BASE+8;
	static final short ALRT_NEW_MAILS = ALRT_BASE+9;
	
	//settings
	static final short ALRT_ST_SAVING = ALRT_BASE+50;
	static final short ALRT_ST_LOADING = ALRT_BASE+51;

	//sendmail	
	static final short ALRT_SM_NO_RCP = ALRT_BASE+100;
	static final short ALRT_SM_CAN_NOT_ATTACH_BODY = ALRT_BASE+101;
	
	//inprotocols
	static final short ALRT_INPL_NO_LONGER_ON_SERVER = ALRT_BASE+150;		
	static final short ALRT_INPL_CHECK_MAILS = ALRT_BASE+151;
	static final short ALRT_INPL_DEL_MAILS = ALRT_BASE+152;
	static final short ALRT_INPL_DOWN_MAIL = ALRT_BASE+153;	
	static final short ALRT_INPL_NEWMAILS = ALRT_BASE+154;
	static final short ALRT_INPL_REDOWN_MAIL = ALRT_BASE+155;
	static final short ALRT_INPL_IMAP_CANNOT_SELECT_MAILBOX = ALRT_BASE+156;
	static final short ALRT_INPL_IMAP_UIDVALIDITY_DIFFERS = ALRT_BASE+157;
	
	//concerning the system
	static final short ALRT_SYS_BUSY = ALRT_BASE+200;
	static final short ALRT_SYS_DEL_ALL_CONFIRM = ALRT_BASE+201;
	static final short ALRT_SYS_NO_DBSPACE = ALRT_BASE+202;
	static final short ALRT_SYS_CHECK_COM_SETTINGS = ALRT_BASE+203;
	static final short ALRT_SYS_SHUTDOWN_CONFIRM = ALRT_BASE+204;
	static final short ALRT_SYS_PROCESS_INTERRUPTED = ALRT_BASE+205;
	static final short ALRT_SYS_EXCEPTION_AROSED=  ALRT_BASE+206;
	static final short ALRT_SYS_LOW_MEMORY =  ALRT_BASE+207;
	static final short ALRT_SYS_DEL_CONFIRM =  ALRT_BASE+208;
	
	//mailform
	static final short ALRT_MF_LOAD_BODY = ALRT_BASE+250;
	static final short ALRT_MF_VIEW_ATT = ALRT_BASE+251;
	static final short ALRT_MF_NO_TEXT = ALRT_BASE+252;	
	static final short ALRT_MF_NO_ATTACHMENTS = ALRT_BASE+253;
	static final short ALRT_MF_DEL_ATT = ALRT_BASE+254;
	static final short ALRT_MF_UNSUPPORTED_FORMAT = ALRT_BASE+255;	
	static final short ALRT_MF_SAVE_CNTS = ALRT_BASE+256;
	static final short ALRT_MF_NO_VIEWABLE_BODY = ALRT_BASE+257;


	//account settings alert
	static final short ALRT_AS_NONEXIST = ALRT_BASE+300;
	static final short ALRT_AS_NO_ACCOUNT_SET_ACTIVE = ALRT_BASE+301;	
	static final short ALRT_AS_LOAD = ALRT_BASE+302;
	static final short ALRT_AS_ALREADY_EXITS = ALRT_BASE+303;
	static final short ALRT_AS_SET_DEFAULT_ACCOUNT = ALRT_BASE+304;
	
	//adressbook
	static final short ALRT_AD_LOAD = ALRT_BASE+400;
	static final short ALRT_AD_DELETE = ALRT_BASE+401;					
	
	//protocol concerning constants
	static final short ALRT_PL_CONNECTING = ALRT_BASE+500;	
	static final short ALRT_PL_CLOSING = ALRT_BASE+501;		
	
	//SMTP constants
	static final short ALRT_SMTP_SENDING = ALRT_BASE+600;
	
	
	
	/******************* Lingual constants for Exceptions  ************************/
	final static short EXP_BASE = 12000;
	//!!! The offset of these values must be corresponding to the offset defined in MyException class
	//ie: LANG.EXP_COM_BASE = 1 (+ EXP_BASE)
	//   MYEXCEPTION.COM_BASE = 1	
	//in this example both offsets are 1
	final static short EXP_COM_BASE = EXP_BASE+1;	
	final static short EXP_COM_IN = EXP_COM_BASE+1;
	final static short EXP_COM_OUT = EXP_COM_BASE+2;
	final static short EXP_COM_TIMEOUT = EXP_COM_BASE+3;
	final static short EXP_COM_HALTED = EXP_COM_BASE+4;
	final static short EXP_COM_UNKNOWN = EXP_COM_BASE+5;    

	final static short EXP_SYSTEM_BASE = EXP_BASE+10;
	final static short EXP_SYS_OUT_OF_MEMORY = EXP_SYSTEM_BASE+1;
	final static short EXP_SYS_IMAGE_FAILED = EXP_SYSTEM_BASE+2;

	final static short EXP_PROTOCOL_BASE = EXP_BASE+20;
	final static short EXP_PROTOCOL_CANNOT_CONNECT = EXP_PROTOCOL_BASE+1;
	final static short EXP_PROTOCOL_CANNOT_RETRIEVE_BODY = EXP_PROTOCOL_BASE+2;
	final static short EXP_PROTOCOL_COMMAND_NOT_EXECUTED = EXP_PROTOCOL_BASE+3;
	final static short EXP_PROTOCOL_CANNOT_DELETE_MAILS = EXP_PROTOCOL_BASE+4;

	final static short EXP_VARIOUS_BASE = EXP_BASE+30;
	final static short EXP_VARIOUS_BAD_EMAIL = EXP_VARIOUS_BASE+1;
	final static short EXP_VARIOUS_AB_MULTIPLE_ENTRIES = EXP_VARIOUS_BASE+2;
	final static short EXP_VARIOUS_DECODE_ILLEGAL_MIME = EXP_VARIOUS_BASE+3;

	final static short EXP_DB_BASE = EXP_BASE+50;
	final static short EXP_DB_NOSPACE = EXP_DB_BASE+1;
	final static short EXP_DB_CANNOT_CLEAR = EXP_DB_BASE+2;
	final static short EXP_DB_CANNOT_SAVE_BODY = EXP_DB_BASE+3;
	final static short EXP_DB_CANNOT_SAVE_HEADER = EXP_DB_BASE+4;
	final static short EXP_DB_CANNOT_DEL_HEADER = EXP_DB_BASE+5;
	final static short EXP_DB_CANNOT_DEL_BODY = EXP_DB_BASE+6;
	final static short EXP_DB_CANNOT_DEL_MAIL = EXP_DB_BASE+7;
	final static short EXP_DB_CANNOT_LOAD_BODY = EXP_DB_BASE+8;    
	final static short EXP_DB_CANNOT_LOAD_CONTACT = EXP_DB_BASE+9;
	final static short EXP_DB_CANNOT_SAVE_CONTACT = EXP_DB_BASE+10;
	final static short EXP_DB_CANNOT_DEL_CONTACT = EXP_DB_BASE+11;
	final static short EXP_DB_CANNOT_UPDATE_HEADER = EXP_DB_BASE+12;
	final static short EXP_DB_CANNOT_LOAD_SETTINGS = EXP_DB_BASE+13;
	final static short EXP_DB_CANNOT_SAVE_SETTINGS = EXP_DB_BASE+14;
	final static short EXP_DB_CANNOT_LOAD_ACCOUNTS = EXP_DB_BASE+15;
	final static short EXP_DB_CANNOT_SAVE_ACCOUNT = EXP_DB_BASE+16;
	final static short EXP_DB_CANNOT_DELETE_ACCOUNT = EXP_DB_BASE+17;
	final static short EXP_DB_CANNOT_OPEN_DB = EXP_DB_BASE+18;
	final static short EXP_DB_CANNOT_LOAD_HEADERS = EXP_DB_BASE+19;
	final static short EXP_DB_CANNOT_CLOSE_DB = EXP_DB_BASE+20;
	final static short EXP_DB_CANNOT_SAVE_MSGID = EXP_DB_BASE+21;
	final static short EXP_DB_CANNOT_LOAD_MSGID = EXP_DB_BASE+22;
	final static short EXP_DB_CANNOT_DEL_MSGID = EXP_DB_BASE+23;
		
	
	//the main method of the class, is used to get the appropriate lingual string
	public static String get(short lang_code) {		
				
		switch (lang_code){									

			case EMPTY:
				return "pusto";
			case FAILED:
				return ".. błąd.";
			case SUCCESS:
				return ".. ok.";
			case IN:
				return " w ";
			case ACTIVE:
				return "Aktywne";
			case INACTIVE:
				return "Nieaktywne";
			case MSGIDS_CACHE:
				return "Pamięć podręczna wiadomości";
			case DB_SPACE_LEFT:
				return "Pozostałe miejsce bazy: ";

			case ML_RECIPIENTS:
				return "Odbiorcy:";
			case ML_TO:
				return "Do:";
			case ML_SUBJECT:
				return "Temat:";
			case ML_BODY:
				return "Treść:";
			case ML_FROM:
				return "Od:";
			case ML_ATTACHMENTS:
				return "Załączniki:";
			case ML_SIZE:
				return "Rozmiaar:";
			case ML_TIME:
				return "Czas:";
			case ML_HEADERS_DETAIL:
				return "Szczegóły nagłówka:";
			case ML_ATTCHMENTS_DETAIL:
				return "Szczegóły załącznika:";
			case ML_FILENAME:
				return "Nazwa pliku:";
			case ML_WIDTH:
				return "Szerokość:";
			case ML_HEIGHT:
				return "Wysokość:";


			case AS_ACCOUNTS:
				return "Konta";						
			case AS_PRIMARY:
				return "Główne";
			case AS_ACTIVATION:
				return "Aktywacja konta:";
			case AS_EMAIL:
				return "Email:";
			case AS_PROTOCOL:
				return "Protokół:";						
			case AS_SERVER:
				return "Serwer:";
			case AS_PORT:
				return "Port:";
			case AS_USR_NAME:
				return "Nazwa użytkownika:";
			case AS_PASS:
				return "Hasło:";
			case AS_SSL:
				return "Użyj SSL";
			case AS_IMAP_MAILBOXES:
				return "Konta IMAP4 oddzielone przecinkiem:";
			case AC_ACTIONS:
				return "Akcje";
			case AC_WRITE_MAIL:
				return "Napisz wiadomość";
			case AC_RETRIEVE_MAILS:
				return "Odbierz wiadomości";
			case AC_SENDALL:
				return "Wyślij wszystkie";
			case AC_POLLING:
				return "Autopobieranie";
			case AC_FORWARD:
				return "Przekaż wiadomość";
			case AC_CLEAR_DB:
				return "Czyszczenie baz";
			case AC_DISCONNECT:
				return "Rozłącz";
			case AC_SERVERS_INBOX_SYNC:
				return "Synchronizuj konta";

			case UT_UTILS:
				return "Użytki";						
			case AD_ADDRESSBOOK:
				return "Książka Adresowa";
			case AD_CONTACT_INFO:
				return "Informacje o kontakcie";
			case AD_NAME:
				return "Nazwa:";
			case AD_EMAIL:
				return "Email:";
			case AD_NOTES:
				return "Notatka:";					
			case AD_ADDDING_RCPS:
				return "Dodaj odbiorców";

			case TB_FOLDERS:						
				return "Foldery";
			case TB_INBOX:
				return "Odbiorcza";
			case TB_OUTBOX:
				return "Nadawcza";
			case TB_DRAFT:
				return "Robocze";
			case TB_SENTBOX:
				return "Wysłane";
			case TB_TRASH:
				return "Kosz";
			case TB_NO_SUBJECT:
				return "<brak tematu>";
			case TB_READ_MAILS:
				return "Przeczytane wiadomości";
			case TB_UNREAD_MAILS:
				return "Nieprzeczytane wiadomości";
			case TB_ALL_MAILS:
				return "Wszystkie wiadomości";

			case ST_SETTINGS:
				return "Ustawienia";
			case ST_SORT_SETTINGS:
				return "Ustawienia sortowania";
			case ST_SORT_BY:
				return "Sortuj wg:";
			case ST_SORT_TIME:
				return "czasu";
			case ST_SORT_SUBJECT:
				return "tematu";
			case ST_SORT_RECIPIENTS:
				return "odbiorcy";
			case ST_SORT_SENDER:
				return "nadawcy";
			case ST_SORT_SIZE:
				return "rozmiaru";
			case ST_SORT_RECORD_ID:
				return "id wiadomości";
			case ST_SORT_ORDER:
				return "Kolejność sortowania:";
			case ST_SORT_INCREASE:
				return "Rosnąco";
			case ST_SORT_DECREASE:
				return "Malejąco";
			case ST_NOT_SET:
				return "<nie ustawiono>";
			case ST_LANG:
				return "Język:";
			case ST_SMTP_AUTH:
				return "Uwierzytelnianie SMTP:";
			case ST_SMTP_AUTH_NEEDED:
				return "wymagane uwierzytelnianie";
			case ST_DOWN_WHOLE_MAIL:
				return "Zawsze pobieraj całe wiadomości";
			case ST_DEL_FROM_SERVER:
				return "Usuń wiadomości z serwera po usunięciu ze skrzynki odbiorczej";
			case ST_ADD_TO_ADBOOK:
				return "Automatycznie dodaj kontakty do Książki adresowej";										
			case ST_POLLING_INTERVAL:
				return "Autopobieranie co (sec):";						
			case ST_TIMEOUT:
				return "Czas opóźnienia (msec):";
			case ST_SIGN:
				return "Podpis:";
			case ST_OTHER:
				return "Inne ustawienia:";		
			case ST_POLLING_BEHAVIOUR:
				return "Autopobieranie odkryje nowe wiadomości to:";
			case ST_POLLING_PLAY_SOUND:
				return "Dzwięk";
			case ST_POLLING_DOWN:
				return "Pobierz";
			case ST_DEL_ON_EXIT:
			return "Usuń wiadomości ze skrzynki odbiorczej bez potwierdzenia \"Usuń teraz!\"";
			case ST_ML_SMALL_FONT:
				return "Odczyt wiadomości w/ mała czcionka";
			case ST_TICK_TEXT:
				return "Odznacz długi tekst";
			case ST_SAFE_MODE:
				return "Oszczędne użycie bazy (nie przechowuj treści wiadomości)";
			case ST_RETR_MAX_MAILS:
				return "Max. ilość pobieranych wiadomości z konta (0=bez limitu):";
			case ST_REPLACE_TABS:
				return "Wyświetl spacje zamiast tabulatorów";
			case ST_MOVE_TO_TRASH:
				return "Przenieś wiadomości do kosza";
			case ST_DOWNLOAD_ONLY_NEVER_SEEN:
				return "Pobieraj tylko nigdy nie odczytane wiadomości";
			case ST_AUTO_CLEAR_INBOX:
				return "Czyść wiadomości odebrane jeśli miejsce dla bazy jest mniejsze niż (-1=wyłączone) kB:";
			case ST_RETR_MAX_LINES:
				return "Max. ilość pobieranych linni dla wiadomości (-1=bez limitu):";

			case ABT_ABOUT:
				return "O programie";
			case ABT_TEXT:
				return 
					"mujMail " +MujMail.VERSION+ " (" +MujMail.BUILD+ ")\n"	+						
					"\n" +
					"Autorzy:\n" +							
					"Pavel Machek\n" +
					"Martin Stefan\n" +
					"Nguyen Son Tung\n" +														
					"\n" +
					"Podziękowania:\n"+
					"Petr Spatka za pomysł i rozpoczęcie projektu\n" +
					"Tłumaczenie:\n"+
					"Przemek Szymanski (PL)\n"+
					"\n" +
					"Informacje, pomoc i nowa wersja programu  http://sonimail.googlecode.com\n" +
				//	"Komentarze, pytania napisz do nas naciskając klawisz kontakt!.\n" +
					"\n";

			case PL_NOTAUTHORIZED:
				return "Niewłaściwy login: ";																	

			case SM_FORWARDED_MESSAGE:
				return "Przekazana wiadomość";
			case SM_SENDING_ACCOUNT:
				return "Wyślij z konta";

			case BTN_OK:
				return "OK";
			case BTN_CANCEL:
				return "Anuluj";
			case BTN_BACK:
				return "Wstecz";
			case BTN_CLEAR:
				return "Czyść bazę";
			case BTN_SAVE:
				return "Zapisz";	
			case BTN_EDIT:
				return "Edytuj";
			case BTN_DELETE:
				return "Usuń";
			case BTN_EXIT:
				return "Koniec";
			case BTN_SELECT:
				return "Wybierz";

			case BTN_RTV_NEW_MAILS:
				return "Pobierz wiadomości";

			case BTN_AD_MARK:
				return "Zaznacz";
			case BTN_AD_UNMARK:
				return "Odznacz";
			case BTN_AD_DONE:
				return "Zakończ";
			case BTN_AD_SEND_MAIL:
				return "Wyślij wiadomość";
			case BTN_AD_ADD_NEW:
				return "Nowa";
			case BTN_AD_VIEW:
				return "Widok";		

			case BTN_TB_VIEW_MESS:
				return "Zobacz wiadomość";
			case BTN_TB_FORWARD:
				return "Przekaż";
			case BTN_TB_DEL_NOW:
				return "Usuń teraz!";
			case BTN_TB_STOP:
				return "Stop";
			case BTN_TB_SORT:
				return "Sortuj";						

			case BTN_OB_SEND:
				return "Wyślij";
			case BTN_OB_SENDALL:
				return "Wyślij wszystkie";

			case BTN_TR_RESTORE:
				return "Przywróć";
			case BTN_TR_RESTORE_NOW:
				return "Przywróć teraz!";

			case BTN_SM_SEND:
				return "Wyślij teraz";						
			case BTN_SM_USE_AB:
				return "Dodaj kontakt";						
			case BTN_SM_SEND_LATTER:
				return "Wyślij później";						
			case BTN_SM_SAVE:
				return "Zapisz";						
			case BTN_SM_BC:
				return "Dodaj Bcc/Cc";
			case BTN_SM_CLEAR:
				return "Wyczyść pola";
			case BTN_SM_CHOOSE_FROM:
				return "Wybierz konto do wysłania";

			case BTN_AS_NEW:
				return "Nowe konto";
			case BTN_AS_SET_PRIMARY:
				return "Ustaw jako domyślne";

			case BTN_TB_REPLY:
				return "Odpowiedz";
			case BTN_TB_QUOTED_REPLY:
				return "Cytowana odpowiedź";
			case BTN_TB_REPLY_ALL:
				return "Odpowiedz wszystkim";
			case BTN_TB_REDOWNLOAD:
				return "Pobierz ponownie";

			case BTN_MF_ATTACHMENTS:
				return "Załączniki";
			case BTN_MF_HEADERS_DETAILS:
				return "Szczegóły nagłówka";
			case BTN_MF_EMAIL_ADDRS:
				return "Adres E-mail";
			case BTN_MF_DEL_ATTACHMENTS:
				return "Usuń załączniki";							
			case BTN_MF_DETAILS:
				return "Szczegóły";
			case BTN_MF_ADD_EMAIL:
				return "Zapisz adres";
			case BTN_MF_REDOWN_ATTACHMENTS:
				return "Pobierz ponownie załączniki";

			case BTN_ABT_FEEDBACK:
				return "Kontakt";

			case ALRT_WAIT:
				return "..proszę czekać.";
			case ALRT_LOADING:
				return "Otwieranie ";
			case ALRT_SAVING:
				return "Zapis ";
			case ALRT_DELETING:
				return "Usuwanie ";
			case ALRT_BAD_EMAIL:
				return "Błędny format wiadomości.";
			case ALRT_SORTING:
				return "Sortowanie ";
			case ALRT_INITIATING:
				return "Inicjacja ";
			case ALRT_SYNCHRONIZING:
				return "Serwery->Odbieranie poczty ";


			case ALRT_AS_NONEXIST:
				return "Konto nie istnieje lub jest nie aktywne";
			case ALRT_AS_NO_ACCOUNT_SET_ACTIVE:
				return "Brak ustawionego konta lub konto nieaktywne";
			case ALRT_AS_LOAD:
				return "Otwieranie kont";
			case ALRT_AS_ALREADY_EXITS:
				return "Konto istnieje: ";
			case ALRT_AS_SET_DEFAULT_ACCOUNT:
				return "Ustaw konto do odbierania wiadomości.";

			case ALRT_ST_SAVING:
				return "Zapis ustawień ";
			case ALRT_ST_LOADING:
				return "Otwieranie ustawień ";

			case ALRT_SM_NO_RCP:
				return "Brak odbiorcy.";										
			case ALRT_SM_CAN_NOT_ATTACH_BODY:
				return "Treść wiadomości pusta lub treść nie może być załączona.";

			case ALRT_INPL_NO_LONGER_ON_SERVER: 
				return "Wiadomości nie będą więcej na serwerze ";
			case ALRT_INPL_CHECK_MAILS:
				return "Pobieranie wiadomości z  ";
			case ALRT_INPL_DEL_MAILS:
				return "Usuwanie wiadomości z ";
			case ALRT_INPL_DOWN_MAIL:
				return "Pobieranie treści do ";
			case ALRT_INPL_NEWMAILS:
				return "Nowe wiadomości dla ";
			case ALRT_INPL_REDOWN_MAIL:
				return "Ponowne pobieranie wiadomości z ";
			case ALRT_INPL_IMAP_CANNOT_SELECT_MAILBOX:				
				return "Nie można wybrać skrzyniki ";
			case ALRT_INPL_IMAP_UIDVALIDITY_DIFFERS:
				return "UIDVALIDITY różnic skrzynek pocztowych";										
				
			case ALRT_NEW_MAILS:
				return "Odebrano nowe wiadomości.";
			case ALRT_SYS_BUSY:
				return "Poprzednie zadanie nadal aktywne. ";
			case ALRT_SYS_DEL_ALL_CONFIRM:
				return "Wyczyścić bazę?";
			case ALRT_SYS_NO_DBSPACE:
				return "Brak miejsca na użądzeniu.";
			case ALRT_SYS_CHECK_COM_SETTINGS:
				return "Sprawdź ustawienia konta lub dostępu do sieci.";
			case ALRT_SYS_SHUTDOWN_CONFIRM:
				return "Niektóre zadania są nieskończone, napewno zakończyć?";
			case ALRT_SYS_PROCESS_INTERRUPTED:
				return "Proces został przerwany.";
			case ALRT_SYS_EXCEPTION_AROSED:
				return "Powstał wyjątek.";
			case ALRT_SYS_LOW_MEMORY:
				return "Mało pamięci";
			case ALRT_SYS_DEL_CONFIRM:
				return "Na pewno usunąć ";

			case ALRT_AD_LOAD:
				return "Otwieranie książki adresowej ";
			case ALRT_AD_DELETE:
				return "Usuwanie książki adresowej ";

			case ALRT_MF_LOAD_BODY:
				return "Otwieranie wiadomośći ";
			case ALRT_MF_VIEW_ATT:
				return "Wyświetlanie załączników ";
			case ALRT_MF_NO_TEXT:
				return "Wiadomość nie posiada tekstu";
			case ALRT_MF_NO_ATTACHMENTS:
				return "Wiadomość nie posiada załączników";
			case ALRT_MF_DEL_ATT:
				return "Kasowanie załączników";
			case ALRT_MF_UNSUPPORTED_FORMAT:
				return "Nieobsługiwana lub uszkodzona wiadomość";	
			case ALRT_MF_SAVE_CNTS:
				return "Zapis adresów";
			case ALRT_MF_NO_VIEWABLE_BODY:
				return "Wiadomośći nie posiada odczytywalnej treści";

			case ALRT_PL_CONNECTING:
				return "�?ączenie z ";
			case ALRT_PL_CLOSING:
				return "Zamykanie ";

			case ALRT_SMTP_SENDING:
				return "Wysyłanie wiadomości ";	


			case EXP_COM_IN:
				return "100: odbieranie komend z serwera ";
			case EXP_COM_OUT:
				return "100: wysyłanie danych do serwera ";
			case EXP_COM_TIMEOUT:
				return "100: Czas opóźnienia ";
			case EXP_COM_HALTED:
				return "*komunikacja przerwana ";
			case EXP_COM_UNKNOWN:
				return "100: nieznany błąd podczas komunikacji z serwerem ";


			case EXP_DB_NOSPACE:
				return "100: brak miejsca na użądzeniu.";
			case EXP_DB_CANNOT_CLEAR:
				return "100: nie można usunąć bazy.";
			case EXP_DB_CANNOT_SAVE_BODY:
				return "100: niemożna zapisu wiadomości do bazy ";
			case EXP_DB_CANNOT_UPDATE_HEADER:
				return "100: nie można uaktualnić nagłówka w bazie ";
			case EXP_DB_CANNOT_SAVE_HEADER:
				return "100: nie można zapisać nagłówka do bazy ";
			case EXP_DB_CANNOT_DEL_HEADER:
				return "100: nie można usunąć nagłówka z bazy ";
			case EXP_DB_CANNOT_DEL_BODY:
				return "100: nie można usunąć treści wiadomości z bazy ";
			case EXP_DB_CANNOT_DEL_MAIL:
				return "100: nie można usunąć wiadomośći z bazy ";
			case EXP_DB_CANNOT_LOAD_BODY:
				return "100: nie można otworzyć treści wiadomości z bazy ";
			case EXP_DB_CANNOT_LOAD_CONTACT: 
				return "100: nie można otworzyć kontaktu z bazy ";				
			case EXP_DB_CANNOT_SAVE_CONTACT:
				return "100: nie można zapisać kontaktu do bazy ";									    
			case EXP_DB_CANNOT_DEL_CONTACT:
				return "100: nie można usunąć kontaktu z bazy ";									    
			case EXP_DB_CANNOT_LOAD_SETTINGS:
				return "100: nie można otworzyć ustawień z bazy.";
			case EXP_DB_CANNOT_SAVE_SETTINGS:
				return "100: nie można zapisać ustawień do bazy.";
			case EXP_DB_CANNOT_LOAD_ACCOUNTS:
				return "100: nie można otworzyć kont";
			case EXP_DB_CANNOT_SAVE_ACCOUNT:
				return "100: nie można zapisać konta";
			case EXP_DB_CANNOT_DELETE_ACCOUNT:
				return "100: nie można usunąć konta";
			case EXP_DB_CANNOT_OPEN_DB:
				return "100: Nie można otworzyć bazy ";
			case EXP_DB_CANNOT_LOAD_HEADERS:
				return "100: Nie można załadować nagłówków z bazy ";
			case EXP_DB_CANNOT_CLOSE_DB:
				return "100: Nie można zamknąć bazy ";
			case EXP_DB_CANNOT_SAVE_MSGID:
				return "100: Nie można zapisać ID wiadomości do bazy";
			case EXP_DB_CANNOT_LOAD_MSGID:
				return "100: Nie można otworzyć ID wiadomości z bazy";
			case EXP_DB_CANNOT_DEL_MSGID:
				return "100: Nie można usunąć ID wiadomości z bazy";

			case EXP_SYS_OUT_OF_MEMORY: 
				return "100: niewystarczająca ilość pamięci RAM.";
			case EXP_SYS_IMAGE_FAILED:
				return "100: Błąd ładowania obrazu.";

			case EXP_PROTOCOL_CANNOT_CONNECT:
				return "200: nie można połączyć z serwerem ";
			case EXP_PROTOCOL_CANNOT_RETRIEVE_BODY:
				return "200: nie można odebrać treści wiadomości ";					    
			case EXP_PROTOCOL_COMMAND_NOT_EXECUTED:
				return "Komendy zostały wykonanie niepoprawnie";
			case EXP_PROTOCOL_CANNOT_DELETE_MAILS:
				return "200: nie można skasować zaznaczonych wiadomości ";

			case EXP_VARIOUS_BAD_EMAIL:
				return "300: błędny format kontaktu";
			case EXP_VARIOUS_AB_MULTIPLE_ENTRIES:
				return "300: kontakt istnieje w książce adresowej.";
			case EXP_VARIOUS_DECODE_ILLEGAL_MIME:
				return "100: wiadomość zawiera niedozwolone znaki MIME.";	

		}		
				
		return LangExtra_pl.getExtra(lang_code);//"Kod języka "+lang_code+" nie zdefiniowany.";
		
	}								

} 
